<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.*,java.io.*,java.sql.*,InvestmentPojo.*;" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Investment Gateways</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="icon" type="image/jpg" href="images/logo.jpg" />
<link href="images679/style.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" href="themes/default/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<!--[if IE]>
<style type="text/css">
#sidebar #calendar {
	background-position: 0px 20px;
}
</style>
<![endif]-->
</head>
<% String serviceName = null != request.getAttribute("showServiceName")? request.getAttribute("showServiceName").toString():""; 
String defaultJspPage = null != request.getAttribute("defaultShowServicePage")? (String)request.getAttribute("defaultShowServicePage"):"";
String UserIDForservice = null != request.getAttribute("UserIDForservice")?(String)request.getAttribute("UserIDForservice"):"";
String showUserToolPage = null != request.getAttribute("showUserToolPage")?(String)request.getAttribute("showUserToolPage"):"";
String toolId = (null != request.getParameter("serviceIdForservice")) ? request.getParameter("serviceIdForservice"):"";
String userId = null != request.getSession().getAttribute("UserID")?(String)request.getSession().getAttribute("UserID"):"";

String defaultShowServicePage = null != request.getAttribute("defaultShowServicePage")?(String)request.getAttribute("defaultShowServicePage"):"";
%>
<script src="jquery.js"></script>
<%-- <c:set var="defaultPage" value="<%=defaultJspPage%>" /> --%>
<script type="text/javascript" src="sourceScript/ApplicationformScript.js"></script>
<body background="" >
<form name="Form1" method="post" >
<jsp:include page="Header.jsp" flush="true"/>

<div id="bodyTotal">
<input type="hidden" name= 'service' id="service" value='1'>
<input type="hidden" value ="<%=request.getAttribute("UserIDForservice")%>" id="UserIDForservice" name="UserIDForservice"></input>
<input type="hidden" value ="<%=toolId%>" id="serviceIdForservice" name="serviceIdForservice">
<input type="hidden" value ="<%=request.getAttribute("methodName")%>" id="methodName" name="methodName"></input>
<input type="hidden" value ="<%=request.getAttribute("shoowMethodName")%>" id="shoowMethodName" name="shoowMethodName"></input>
<input type="hidden" name="userID" id="userID" value='<%=userId%>' />

<input type="hidden" name="showServicePage" id="showServicePage" value='' />
<input type="hidden" name="userId" id="userId" value='<%=userId%>' />
<input type="hidden" value ="" id="method123" name="method123"></input>
<table id="tableBgColor"  class="tableBgColor" width="100%" style="" align="center" >
<td>
<div class="contAdmin">
<div id="TBFORM">&nbsp;</div>
<div id="cont1">
<div id="contbuss" style="background-image:  #FFFFFF url(body456.png) repeat-x;">
<div id="contleft">

<div class="contentup">
<ul class="svertical">
<% if(null == userId || "null".equals(userId) || "".equals(userId)){%>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;" ><%=request.getAttribute("showServiceName")%></a></li>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;" >ARTICLES</a></li>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;" >CASE LAWS</a></li>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;" >CIRCULARS</a></li>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;" >MASTER CIRCULAR</a></li>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;" >NOTIFICATIONS</a></li>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;" >PRESS NOTES</a></li>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;" >FORMS & CHECKLISTS</a></li>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;"  >DEFINITIONS</a></li>
	<li style="width:200px !important;"><a href="#" onclick="ShowbodyWithoutUser('withoutuser')" style="float:left !important;"  >FAQ's</a></li>
	
<%}else{ %>
	
	<li><a href="#" id="#Tool" style="float:left !important;" onclick="ShowToolApplication('<%=toolId%>')" ><%=request.getAttribute("showServiceName")%></a></li>
	<li><a href="#" id="#Art" style="float:left !important;" onclick="ShowBodyApp('Articles')" >ARTICLES</a></li>
	<li><a href="#" id="#Caselaw" style="float:left !important;" onclick="ShowBodyApp('CaseLaws')" >CASE LAWS</a></li>
	<li><a href="#" id="#Circular" style="float:left !important;" onclick="ShowBodyAppfor3('Circulars')" >CIRCULARS</a></li>
	<li><a href="#" id="#Mcircular" style="float:left !important;" onclick="ShowBodyApp('MasterCirculars')" >MASTER CIRCULAR</a></li>
	<li><a href="#" id="#Notification" style="float:left !important;" onclick="ShowBodyAppfor3('Notifications')" >NOTIFICATIONS</a></li>
	<li><a href="#" id="#Pressnote" style="float:left !important;" onclick="ShowBodyApp('PressNotes')" >PRESS NOTES</a></li>
	<li><a href="#" id="#forms" style="float:left !important;" onclick="ShowBodyApp('FormsNChecklists')" >FORMS & CHECKLISTS</a></li>
	<li><a href="#" id="#Faqs" style="float:left !important;" onclick="ShowBodyApp('FAQ')" >FAQ's</a></li>
	<li><a href="#" id="#Definations" style="float:left !important;" onclick="ShowBodyAppfor3('DEFINITIONS')" >DEFINITIONS</a></li>
<%} %>	
</ul>





</div>

<div class="ToolImage"><%=request.getAttribute("TOOLName")%></div>
</div>

<script type="text/javascript" src="sourceScript/UIformScript.js"></script>
<div style="padding-left:10px" id="contright"   class="d1" >
<div style="padding-left:10px;padding-bottom:0px;" align="center" id="loadingwait" class="d1"><b><img alt='Plz wait...' src='images/loading48.gif' width="600" height='80'/></b> </div>
  <%if( "".equals(showUserToolPage)){  %>
 		<jsp:include page='<%=defaultShowServicePage %>' flush="true"/>
 	
<%}%>
<%if( !"".equals(showUserToolPage)){ %>  
   			<jsp:include page='<%=showUserToolPage %>' flush="true"/> 
 <%}%> 
   </div>
<!-- </div> --></div>
</div>
</div>
<input type="hidden" name="userId" id="userId" value='<%=request.getAttribute("UserID") %>' />
</td>
</table>
</div>
<jsp:include page='Footer.jsp' flush="true"/>
</form>
</body>
<script>document.getElementById("loadingwait").style.display="none";</script>
</html>
